package com.ddwl.schema.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

/**
 * (OrderInfo)返回前端对象
 *
 * @author zach
 * @since 2020-06-02 11:21:27
 */
@Data
@ApiModel("订单api对象")
public class OrderInfoApiVo {

    private String id;

    @ApiModelProperty("商品件数（相同的商品只记一件）")
    private Integer itemCount;

    @ApiModelProperty("订单内容")
    private String content;

    @ApiModelProperty("结算状态（0未结算10结算中20结算成功30结算失败）")
    private Integer settlementStatus;

    @ApiModelProperty("订单备注")
    private String note;

    @ApiModelProperty("订单支付时间")
    private Instant payTime;

    @ApiModelProperty("订单关闭时间")
    private Instant closeTime;

    @ApiModelProperty("区域Id")
    private String regionId;

    @ApiModelProperty("确认收货时间")
    private Instant confirmTime;

    @ApiModelProperty("订单过期时间")
    private Instant expirationTime;

    @ApiModelProperty("订单开始支付时间")
    private Instant startPayTime;

    @ApiModelProperty("发货时间")
    private Instant deliveryTime;

    @ApiModelProperty("订单完成时间")
    private Instant finishTime;

    @ApiModelProperty("订单状态 1已支付 2已发货 3 已签收 4已取消 5 退款中 6已退款 7付款超时关闭")
    private Integer status;

    @ApiModelProperty("支付方式0微信1支付宝")
    private String paymentType;

    @ApiModelProperty("后台备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;
}
